package com.pointstar.dp.modules.project.service;

import java.util.Map;

import com.pointstar.dp.common.entity.Page;
import com.pointstar.dp.common.entity.R;
import com.pointstar.dp.modules.project.entity.ProjectRepairRecordEntity;

/**
 * 报修记录表
 * @author pointstar<admin@pointstar.com>
 */
public interface ProjectRepairRecordService {

    /**
     * 分页查询
     * @param params
     * @return
     */
	Page<ProjectRepairRecordEntity> listProjectRepairRecord(Map<String, Object> params);

    /**
     * 新增
     * @param projectRepairRecord
     * @return
     */
	R saveProjectRepairRecord(ProjectRepairRecordEntity projectRepairRecord);

    /**
     * 根据id查询
     * @param id
     * @return
     */
	R getProjectRepairRecordById(Long id);

    /**
     * 修改
     * @param projectRepairRecord
     * @return
     */
	R updateProjectRepairRecord(ProjectRepairRecordEntity projectRepairRecord);

    /**
     * 删除
     * @param id
     * @return
     */
	R batchRemove(Long[] id);
	
}
